﻿#pragma warning disable 649    // disable compiler warnings about unassigned fields

namespace SomethingSpacialClassLib.Web
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.ServiceModel.DomainServices.Server;


    // The MetadataTypeAttribute identifies LocationMetadata as the class
    // that carries additional metadata for the Location class.
    [MetadataTypeAttribute(typeof(Location.LocationMetadata))]
    public partial class Location
    {

        // This class allows you to attach custom attributes to properties
        // of the Location class.
        //
        // For example, the following marks the Xyz property as a
        // required field and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz;
        internal sealed class LocationMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private LocationMetadata()
            {
            }

            public string LOC_City;

            public string LOC_Comments;

            public string LOC_Country;

            public int LOC_Id;

            public string LOC_Lat;

            public string LOC_Long;

            public string LOC_Name;

            public string LOC_Postalcode;

            public string LOC_State;

            public string LOC_StreetAddress1;

            public string LOC_StreetAddress2;
        }
    }

}

#pragma warning restore 649    // re-enable compiler warnings about unassigned fields
